package com.zhike.common.dto;

import javax.validation.constraints.NotNull;

import com.zhike.common.repository.HistoryMessage;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class DelAllMessageDTO {

    @ApiModelProperty(value = "会话ID", required = true)
    @NotNull(message = "缺少参数sessionId")
    private String sessionId;

    @ApiModelProperty(value = "删除者UId", required = true)
    @NotNull(message = "缺少参数deleteUid")
    private String deleteUid;

    @ApiModelProperty(value = "历史消息", notes = "参数 senderUid, receiver必须")
    private HistoryMessage historyMessage;
}
